Skip to main content

ChoiceDialog

ChoiceDialog[expr] puts up a standard choice dialog that displays expr together with OK and Cancel buttons, and returns True if OK is clicked and False if Cancel is clicked.

ChoiceDialog[expr,{lbl1->val1,lbl2->val2,…}] includes buttons with labels lbli, and returns the corresponding vali for the button clicked.

Please visit the official Wolfram Language Reference for more details and examples on core symbols.